/* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!		
  \file			PAG_T3Int.h
  \date			June 2011
  \author		TNick

  \brief		Contains the definition for PAG_T3Int class


 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @n
 Please read ReadMe.txt and Licence.txt in root folder @n
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @n

*/
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
#ifndef __PAG_T3INT_INC__
#define __PAG_T3INT_INC__
//
//
//
//
/*  INCLUDES    ------------------------------------------------------------ */

#include	"../PrpAgreg.h"


/*  INCLUDES    ============================================================ */
//
//
//
//
/*  CLASS    --------------------------------------------------------------- */

/// class 
/**
*	
*/
class PAG_T3Int : public PrpAgreg		{

	//
	//
	//
	//
	/*  DEFINITIONS    ----------------------------------------------------- */

	/*  DEFINITIONS    ===================================================== */
	//
	//
	//
	//
	/*  DATA    ------------------------------------------------------------ */

private:
	/// this is where actual data is stored
	int		pag_data[3];
	

	/*  DATA    ============================================================ */
	//
	//
	//
	//
	/*  FUNCTIONS    ------------------------------------------------------- */

public:

	/// default constructor;
	PAG_T3Int		(void) : PrpAgreg() {}
	/// has initial value
	PAG_T3Int		(int init_val1, int init_val2, int init_val3 ) : PrpAgreg()
		{ 
		pag_data[0] = init_val1; 
		pag_data[1] = init_val2; 
		pag_data[2] = init_val3; 
		}
	PAG_T3Int		(int* pinit_val3) : PrpAgreg()
		{ 
		pag_data[0] = pinit_val3[0]; 
		pag_data[1] = pinit_val3[1]; 
		pag_data[2] = pinit_val3[2]; }
	/// has initial value and code
	PAG_T3Int		(int init_val1, int init_val2, int init_val3, quint32 init_id)
		: PrpAgreg(init_id)
		{ pag_data[0] = init_val1; pag_data[1] = init_val2; pag_data[2] = init_val3; }
	/// has initial value and properties
	PAG_T3Int		(
			int*	pinit_val3,
			bool	a_adv,
			GRP		a_grp,
			int		a_sgrp,
			SOURCE	a_src,
			STORAGE	a_strg,
			int		a_id
			) : PrpAgreg(a_adv, a_grp, a_sgrp, a_src, a_strg, a_id)
		{ 
		pag_data[0] = pinit_val3[0]; 
		pag_data[1] = pinit_val3[1]; 
		pag_data[2] = pinit_val3[2];
		}

	/// destructor;
	virtual				~PAG_T3Int		(void) {}

	

	
	/*  FUNCTIONS    ======================================================= */
	//
	//
	//
	//

};	/*	class PAG_T3Int	*/

/*  CLASS    =============================================================== */
//
//
//
//
#endif // __PAG_T3INT_INC__
/* ------------------------------------------------------------------------- */
/* ========================================================================= */

